From: Claudio Cambra Date: Thu, 27 Feb 2025 09:32:53 +0000 (+0800) Subject: gui/tray: Make bottom buttons in user status selector smaller X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~2^2~11^2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=0a241a33548bd3938132f49433e9c217dda32c4d;p=nextcloud-desktop.git gui/tray: Make bottom buttons in user status selector smaller Signed-off-by: Claudio Cambra --- diff --git a/src/gui/UserStatusSelector.qml b/src/gui/UserStatusSelector.qml index 8967bc2f9..736dbe5a8 100644 --- a/src/gui/UserStatusSelector.qml +++ b/src/gui/UserStatusSelector.qml @@ -268,23 +268,19 @@ ColumnLayout { Layout.alignment: Qt.AlignBottom Button { - // Prevent being squashed by the other buttons with larger text - Layout.minimumWidth: implicitWidth - Layout.fillHeight: true text: qsTr("Cancel") onClicked: finished() } - Button { + Item { // Spacing Layout.fillWidth: true - Layout.fillHeight: true - text: qsTr("Clear status message") + } + Button { + text: qsTr("Clear") onClicked: userStatusSelectorModel.clearUserStatus() } Button { - Layout.fillWidth: true - Layout.fillHeight: true focusPolicy: Qt.StrongFocus - text: qsTr("Set status message") + text: qsTr("Apply") onClicked: userStatusSelectorModel.setUserStatus() } }